package com.rraj.common.mq;

/**
 * Created by WangSheng on 2017/6/9.
 *
 * @author WangSheng
 * @date 2017/06/09
 */
public class MQProducerMsg {
    /**
     * 要发送的topic
     */
    private String topic;
    /**
     * 要发送的tag
     */
    private String tag;
    /**
     * 要发送的key
     */
    private String key;
    /**
     * 要发送的消息内容
     */
    private byte[] msgBody;

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public byte[] getMsgBody() {
        return msgBody;
    }

    public void setMsgBody(byte[] msgBody) {
        this.msgBody = msgBody;
    }
}
